<div class="item-list">
    <div class="item-list-header">
        <div class="random_idea">Random Ideas</div>
    </div>
    <div class="item-list-content">
        <?php if (count($randomIdeas) == 0) { ?>                    
            <i>You should be generating random ideas.</i>                    
            <?php
        } else {
            foreach ($randomIdeas as $ri) {
                include_partial('random_idea_small', array('idea' => $ri));
            }
        }
        ?>
    </div>
    <div class="item-list-footer"></div>
</div>
